#include <QCoreApplication>

#include <iostream>
#include <cstring>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    string *ps = new string("i regined lonely as a cloutd");
    string *psTemp;
    psTemp = ps;
    delete ps;
    ps = nullptr;
    return a.exec();
}
